package com.bjwl.dao;

import com.bjwl.pojo.CardDenomination;
import com.bjwl.pojo.vo.BasicQueryVo;
import com.bjwl.utils.PageBean;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: dzx
 * @Date:Create：in 2020/5/8 14:04
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
@Repository
public interface CardDenominationMapper {


    public CardDenomination findCardDenominationBy(float denomination);

    public void addCardDenomination(CardDenomination cardDenomination);

    public Integer getTotalRecord(BasicQueryVo vo) ;

    public List<CardDenomination> findAllCardDenomination(PageBean<CardDenomination> pageBean, BasicQueryVo vo);

    public CardDenomination findCardDenominationById(Integer id);

    public Integer updateCardDenomination(CardDenomination cardDenomination);

    public void deleteCardDenomination(Integer id);


    List<CardDenomination> findAll();
}
